.breadcrumb {
  list-style: none;
  display: flex;
  padding: 0;
  font-family: 'Arial', sans-serif; /* Clean, professional look */
  font-size: 16px;
}

/* Link color matched to the "ZEC" green in logo.png */
.breadcrumb li a {
  text-decoration: none;
  color: #38761d; 
  font-weight: bold;
}

.breadcrumb li a:hover {
  color: #274e13; /* A slightly darker green for hover */
  text-decoration: underline;
}

/* Separator color matched to the "Zero e-waste" red in logo.png */
.breadcrumb li + li::before {
  content: "»";
  padding: 0 10px;
  color: #a61c00; 
}

/* Active/Last item color */
.breadcrumb li:last-child {
  color: #444; 
.team-section {
  font-family: Arial, sans-serif;
  padding: 20px;
}

.team-section h2 {
  font-size: 24px;
  margin-bottom: 20px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.team-member {
  text-align: center;
}

.team-member img {
  width: 100%;
  filter: grayscale(100%); /* Matches the black & white style in image_633ea0.jpg */
  transition: filter 0.3s ease;
}

/* Color matched to ZEC Green from logo.png */
.team-member h3 {
  color: #38761d; 
  margin: 15px 0 5px 0;
  font-size: 18px;
}

.linkedin-link {
  text-decoration: none;
  color: #333;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

/* Hover color matched to Zero Red from logo.png */
.linkedin-link:hover {
  color: #a61c00;
  text-decoration: underline;
}
}


/*Team*/
.team-section {
  font-family: Arial, sans-serif;
  padding: 20px;
  margin-top: 0%;
}

.team-section h2 {
  font-size: 24px;
  margin-bottom:0px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 15px;
  
}

.team-member {
  text-align: center;
}

.team-member img {
  width: 100%;

  
}

/* Color matched to ZEC Green from logo.png */
.team-member h3 {
  color: #38761d; 
  margin: 15px 0 5px 0;
  font-size: 18px;
}

.linkedin-link {
  text-decoration: none;
  color: #333;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

/* Hover color matched to Zero Red from logo.png */
.linkedin-link:hover {
  color: #a61c00;
  text-decoration: underline;
}























/* Center the main heading and the grid container */
.team-section {
  text-align: left;
  margin-left: 250px;
  max-width: 1200px;

}

/* Center the grid items themselves */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr); 
  gap: 20px;
  justify-items: center; /* Centers cards horizontally in their grid cells */
  align-items: start;
}

/* Ensure the content inside each member card is centered */
.team-member {
  display: flex;
  flex-direction: column;
  align-items: center; /* Centers the img, h3, and link */
  text-align: center;
}

.team-member img {
  width: 100%;
  max-width: 250px;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  margin-bottom: 15px;
}
/* --- Desktop Styling --- */
.text-section h2 {
  font-family: 'Arial', sans-serif;
  color: black#38761d; /* ZEC Green from logo.png */
  font-size: 28px;
  margin-bottom: 20px;
  text-align: left; /* Matches your desktop preference */
  font-weight: 700px !important;
}


  @media screen and (max-width: 768px) {
  /* Using 'html body' increases specificity to override other stylesheets */
  html body .team-section {
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
    text-align: center !important;
    width: 100% !important;
    float: none !important; /* Prevents alignment issues if desktop used floats */
  }
@media screen and (max-width: 768px) {
  /* html body prefix ensures this code is not affected by other CSS */
  html body .text-section,
  html body .text-section h2 {
    text-align: left !important;
    margin-left: 8px !important;
    margin-right: auto !important;
    display: block !important;
    width: 100% !important;
    padding: 0 !important;
    margin-bottom: 10px;
    font-weight: 100;
  }
}



  .team-grid {
    /* Switch from 4 columns to 1 or 2 columns depending on preference */
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); 
    justify-items: center;
  }
  
  .team-member img {
    max-width: 100%;    /* Let the image fill the smaller screen width */
  }
}











